//---------------------------------------------------------------------------

#ifndef SPR_SOTR_VDGOH
#define SPR_SOTR_VDGOH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxClasses.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxEdit.hpp"
#include "cxFilter.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "Shablon_SPR_FILTR.h"
#include <ActnList.hpp>
#include <DB.hpp>
#include <ExtCtrls.hpp>
#include <Menus.hpp>
#include <DBCtrls.hpp>
#include <Mask.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrSPR_SOTR_VDGO : public TfrShablon_SPR_FILTR
{
__published:	// IDE-managed Components
	TcxGridDBColumn *sgSpr_TableDBTableView1Column1;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column2;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column3;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column4;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column5;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column6;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column7;
	TcxGridDBColumn *sgSpr_TableDBTableView1Column8;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Label3;
	TLabel *Label4;
	TDBEdit *dbeKOD;
	TDBEdit *dbeFIO;
	TDBEdit *dbeFIO_POLN;
	TLabel *Label5;
	TDBEdit *dbeRAZRIAD;
	TLabel *Label6;
	TDBEdit *dbeADRES;
	TLabel *Label7;
	TDBEdit *dbePHONE;
	TLabel *Label8;
	TDBLookupComboBox *cbVID_JOB;
	TDBLookupComboBox *cbDOLGN;
	TcxButton *cxButton2;
	TAction *SPR_DOLGN;
	TAction *actESC;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall AddExecute(TObject *Sender);
	void __fastcall dbeKODKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dbeFIOKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dbeFIO_POLNKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall cbDOLGNClick(TObject *Sender);
	void __fastcall dbeRAZRIADKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
	void __fastcall dbeADRESKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall dbePHONEKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall cbVID_JOBClick(TObject *Sender);
	void __fastcall SaveExecute(TObject *Sender);
	void __fastcall EditExecute(TObject *Sender);
	void __fastcall DeleteExecute(TObject *Sender);
	void __fastcall SPR_DOLGNExecute(TObject *Sender);
	void __fastcall actESCExecute(TObject *Sender);
	void __fastcall sgSpr_TableDBTableView1DblClick(TObject *Sender);
private:	// User declarations
public:		// User declarations
int Stat;
	__fastcall TfrSPR_SOTR_VDGO(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrSPR_SOTR_VDGO *frSPR_SOTR_VDGO;
//---------------------------------------------------------------------------
#endif
